Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement separate storage buckets in flyte-core #4675

Closed
wants to merge 8 commits into from
Closed

Implement separate storage buckets in flyte-core #4675

wants to merge 8 commits into from

Conversation

davidmirror-ops
Copy link
Contributor

Tracking issue

Closes #4291

Why are the changes needed?

What changes were proposed in this pull request?

This PR introduces a new mandatory field in the flyte-core Helm chart: userBucketName.
By default it can be the same as the bucketName but, if different, userBucketName will be used by Flyte to build the rawoutput-prefix parameter for propeller and, consequently, Flyte will store raw data there, storing metadata only on the storage container specified in bucketName

How was this patch tested?

Scenarios tested:

  1. No userBucketName specified. Result: Helm chart renders but workflow execution fails
  2. Different userBucketName than bucketName: workflow executions store inputs/outputs in the userBucketName
  3. Same userBucketName as bucketName: workflow executions store both raw data and metadata on the same bucket

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

Signed-off-by: davidmirror-ops <[email protected]>
Signed-off-by: davidmirror-ops <[email protected]>
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. documentation Improvements or additions to documentation enhancement New feature or request labels Jan 4, 2024
Signed-off-by: davidmirror-ops <[email protected]>
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Jan 4, 2024
Copy link

codecov bot commented Jan 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7b3f405) 58.15% compared to head (e6fe8b6) 58.14%.
Report is 9 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4675      +/-   ##
==========================================
- Coverage   58.15%   58.14%   -0.01%     
==========================================
  Files         626      626              
  Lines       53786    53786              
==========================================
- Hits        31277    31274       -3     
- Misses      20001    20005       +4     
+ Partials     2508     2507       -1     
Flag Coverage Δ
unittests 58.14% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: davidmirror-ops <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Core feature] Allow to specify userdata bucket in the storage configuration in flyte-core charts
1 participant